﻿using System;
using System.Collections.Generic;

namespace PMngr.Data
{
    public class ValidationException : ApplicationException
    {
        public ValidationException() {}

        public ValidationException(List<ErrorEntity> errorEntities)
        {
            Errors = errorEntities;
        }        

        public List<ErrorEntity> Errors { get; private set; }
    }
}
